package com.gitee.cui.springcloud.storage.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * TODO
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-26 15:09
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Storage {

	private Long id;

	/**
	 * 商品id
	 */
	private Long productId;

	/**
	 * 总数量
	 */
	private Integer total;

	/**
	 * 已售出数量
	 */
	private Integer used;

	/**
	 * 剩余数量
	 */
	private Integer residue;
}
